//
//  ViewController.m
//  GalleryImageDemo
//
//  Created by ju on 14-3-5.
//  Copyright (c) 2014年 Dono. All rights reserved.
//

#import "ViewController.h"
#import "Gallerys.h"


@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
    self.view.backgroundColor = [UIColor whiteColor];
    NSArray *arr = @[@"http://www.scyddy.com/MobileGuide/guide/wuhouci/lbd/1.jpg",@"http://www.scyddy.com/MobileGuide/guide/wuhouci/lbd/2.jpg",@"http://www.scyddy.com/MobileGuide/guide/wuhouci/lbd/3.jpg",@"http://www.scyddy.com/MobileGuide/guide/wuhouci/lbd/4.jpg",@"http://www.scyddy.com/MobileGuide/guide/wuhouci/lbd/20.jpg"];
    
    Gallerys *ga = [[Gallerys alloc] initWithFrame:CGRectMake(0, 110, 320, 240) images:arr];

    [self.view addSubview:ga];
    [self.view addSubview:[ga getPageControl]];
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
}


@end

